<div class="pageContent">
	
	<form method="post" action="/index.php?act=order&st=orderEdit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$id}" />
		<div class="pageFormContent" layoutH="58">

			<p>
				<label>业务员微信ID号：</label>
				<input name="sales_id" type="text" size="30" value="{$order.sales_id}" errormsg="请输入业务员ID" alt="业务员微信ID以#分割,最多5个"/>
			</p>
			<p>
				<label>业务员名称：</label>
				<input name="sales_name" type="text" size="30" value="{$order.sales_name}" errormsg="请输入业务员名称"/>
			</p>
			<p>
				<label>负责区域：</label>
				<input name="sales_area" type="text" size="30" value="{$order.sales_area}" errormsg="请输入负责区域"/>
			</p>
			<p>
				<label>负责产品：</label>
				<input name="sales_produce" type="text" size="30" value="{$order.sales_produce}" errormsg="请输入负责产品"/>
			</p>
			<div class="divider"></div>
			<p>
				<label>客户名称：</label>
				<input name="sales_customer" type="text" size="30" value="{$order.sales_customer}" errormsg="请输入客户名称"/>
			</p>
			<p>
				<label>合同号：</label>
				<input name="agreement_no" type="text" size="30" value="{$order.agreement_no}" errormsg="请输入合同号" />
			</p>
			<p>
				<label>合同量(吨)：</label>
				<input name="agreement_weight" class="number" type="text" size="30" value="{$order.agreement_weight}" errormsg="请输入合同量"/>
			</p>
			<p>
				<label>合同金额(万元)：</label>
				<input name="agreement_amount" class="number" type="text" size="30" value="{$order.agreement_amount}" errormsg="请输入合同金额"/>
			</p>
			<p>
				<label>是否排产：</label>
				<select class="combox" name="scheduling">
					<option value="0" {if $order.agreement_amount eq 0}selected{/if}>否</option>
					<option value="1" {if $order.agreement_amount eq 1}selected{/if}>是</option>
				</select>
			</p>
			<div class="divider"></div>
			<p>
				<label>合同到款日期：</label>
				<input type="text" name="agreement_date" class="date" size="30" errormsg="请输入合同到款日期" dateFmt="yyyy-MM-dd HH:mm:ss" value="{$order.agreement_date}" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>出厂日期：</label>
				<input type="text" name="produce_date" class="date" size="30" errormsg="请输入出厂日期" dateFmt="yyyy-MM-dd HH:mm:ss" value="{$order.produce_date}" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>首批离港日期：</label>
				<input type="text" name="first_date" class="date" size="30" errormsg="请输入首批离港日期" dateFmt="yyyy-MM-dd HH:mm:ss" value="{$order.first_date}" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>到达日期：</label>
				<input type="text" name="arrive_date" class="date" size="30" errormsg="请输入到达日期" dateFmt="yyyy-MM-dd HH:mm:ss" value="{$order.arrive_date}" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>

	</form>

</div>

